package com.sdufe.soc.jerseyTest;



import java.io.IOException;

import com.sun.jersey.api.client.Client;
import com.sun.jersey.api.client.WebResource;

public class ClientTest2 {
    public static void main(String[] args) throws IOException {
    	Client c = Client.create();
        WebResource r;
        r = c.resource(Main.BASE_URI);
        String responseMsg = r.path("myresource").get(String.class);
        System.out.println(responseMsg);
    }
}
